package org.kk.controller;

import org.kk.service.NacosPaymentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * the type of springcloud-alibaba
 *
 * <p>
 * .
 *
 * @author 铁甲小宝
 * @date 2022-12-06
 */
@RestController
public class NacosPaymentController {

    @Autowired
    private NacosPaymentService service;

    @GetMapping("/getName")
    public String name(){
        return service.name();
    }
}
